gametheory
Class GenerateImportanceGameTask

java.lang.Object
  extended by gametheory.GenerateImportanceGameTask
All Implemented Interfaces:
java.util.concurrent.Callable<Game>

public class GenerateImportanceGameTask
extends java.lang.Object
implements java.util.concurrent.Callable<Game>

Task to calculate equilibria to an importance game.


Constructor Summary
GenerateImportanceGameTask(Game g, int i)
          Creates a new instance of GenerateImportanceGameTask
 
Method Summary
 Game call()
          Functionality to call Gambit and compute all the equilibria to the game.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateImportanceGameTask

public GenerateImportanceGameTask(Game g,
                                  int i)
Creates a new instance of GenerateImportanceGameTask

Parameters:
g - Game to evaluate.
i - Number of the task, used for generating a temporary file to send to Gambit.
Method Detail

call

public Game call()
Functionality to call Gambit and compute all the equilibria to the game.

Specified by:
call in interface java.util.concurrent.Callable<Game>
Returns:
Updated Game object containing equilibria.